Skip to content

design(release): release workflow for per-app version tags (#11177) - #13302

Merged
dezren39 merged 1 commit into
mainfrom
felix/11177-release-workflow
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
felix/11177-release-workflow

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Design record for #11177, the #5790 §5 remainder (its other area, the deploy-tool identity ledger #5766, is closed).

Decides:

  • Actor/trigger: the deploy tool cuts the tags — a new deploy release verb in pkgs/deploy/deploy.py, invoked deliberately by an operator. CI never creates tags (it only builds from them); unaided manual git tag is not a release path. The owner's 2026-11-13 disabling of mcpx's automatic tag-push publishing is read as the standing preference for deliberate release acts.
  • Attestation: "tested" = the main-gate verdict for the exact commit (the main-broken.yml watched set, judged by the existing .github/scripts/release-gate.sh rules) plus the app's own test workflow when it sits outside the watched set (fleet: fleet-rust-tests — the watched set has no fleet workflow; recorded in the design). Stored in the annotated tag message (release-attestation:v1 block), mirrored in a deploy-ledger release log read by deploy status, and closed out by the artifact reporting the clean version.
  • Refusal (§3.9): lives in the deploy tool — deploy-time refusal of any release-claiming deploy without a verifiable attested tag at the artifact's commit, and release-time refusal on any failed precondition. Prerelease deploys from main are untouched and never promoted.
  • First tags: explicit recorded decision (§7) — no hand-cut tags ahead of the tool; the first per-app tags wait for the follow-on implementation issue. mcpx/v0.1.0 is grandfathered as that app's 0.1.0.

Docs only; git diff --check clean; no schedule created/changed/retired; no new dependencies. Refs #11177 (no closing keyword — the issue stays open until Felix's review/merge and the #5790 link).

Decides the #5790 §5 remainder: the deploy tool cuts per-app tags
via a release verb; attestation is the main-gate verdict for the
exact commit, stored in the annotated tag message and the deploy
ledger; the untagged-release refusal lives in the deploy tool at
deploy time and at release time. First tags wait for the verb —
recorded gate decision in §7.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 41 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ad3eea66-9718-4e18-af79-5bc1417aa3d8
Commits

Reviewing files that changed from the base of the PR and between 5c8e163 and 92215d1.

Files selected for processing: 1

  • doc/2026-11-23T13-09-25Z_design_release-workflow-per-app-tags/2026-11-23T13-09-25Z_design_release-workflow-per-app-tags.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T13:13:17.538493Z 92215d1 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 92215d1867

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +135 to +136
implements: the release SHA must be the head of `main` at
judging time or an ancestor the gate's non-push rule accepts

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Require the release commit to be the current main head

For an explicit --commit pointing to an older commit on main, this rule and §2's reachability precondition permit cutting a release tag, but .github/scripts/release-gate.sh rejects it: verdict_for_event requires the release SHA to equal the current main head. Its ancestor exception applies only to workflow-run SHAs, not to the release SHA. Require the current main head here and in §2, or explicitly plan the corresponding gate change; otherwise the tool can mint releases that the adopted publishing gate refuses.

Useful? React with 👍 / 👎.

Comment on lines +259 to +261
mcpx's `0.1.0`; mcpx's *next* release follows this workflow, and
the mcpx pipeline's tag-consumption (build and publish from the
tag, gate-checked) is already compatible with it.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include the mcpx publishing integration in the implementation gate

The next mcpx release cannot use the claimed existing tag-consumption path: .github/workflows/mcpx-release.yml declares only workflow_dispatch, while both its release-gate and GitHub-release publish jobs require github.event_name == 'push'. Consequently, pushing the tags in §2 triggers no build or publication, and manually dispatching with publish=true publishes only the container without running that gate. Add an explicit deliberate, tag-bound build/publish integration to the follow-on implementation scope rather than treating this pipeline as already compatible.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant